// components/note/note.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    note: {
      type: Object,
      value: {
        author: {
          userId: "1704483075356610562",
          name: "demiphea",
          avatar: "https://cdn.a-labo.cn/users/1704483075356610562/c976a701a44285ba10ae994fa2e96229"
        },
        collect: false,
        collectCount: "0",
        noteId: "1704507838078636034",
        title: "笔记标题",
        content: "这是又又是一个公开的笔记",
        createTime: "2023-09-20 22:48:31",
        onPublic: true
      }
      // value: {
      //   author: {
      //     userId: '',
      //     name: '',
      //     avatar: ''
      //   },
      //   collect: false,
      //   collectCount: '',
      //   noteId: '',
      //   title: '',
      //   content: '',
      //   createTime: '',
      //   onPublic: true
      // }
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})
